package com.yun.baymax.bean.adapter;

import com.chad.library.adapter.base.entity.AbstractExpandableItem;
import com.chad.library.adapter.base.entity.MultiItemEntity;
import com.yun.baymax.adapter.TrendsAdapter;

/**
 * Created by Administrator on 2017/6/16.
 */

public class ProfileType extends AbstractExpandableItem<Trends> implements MultiItemEntity {
    private String title;
    private int icon;

    public ProfileType(int icon, String title) {
        this.title = title;
        this.icon = icon;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public int getIcon() {
        return icon;
    }

    public void setIcon(int icon) {
        this.icon = icon;
    }

    @Override
    public int getLevel() {
        return 0;
    }

    @Override
    public int getItemType() {
        return TrendsAdapter.HEAD_TYPE;
    }
}
